package weekend;

public class ValueTransferTest {
    public static void main(String[] args) {
        ValueTransferTest test = new ValueTransferTest();

        int m = 10;
        test.method1(m);
        int m1 = test.method1(m);
        System.out.println("m ="+m+",m1 ="+m1);
    }

    public int method1(int m){
        m++;
        return m;
    }
}
